package yang.zhan.zhao.datatransferdemo.model;

import cn.hutool.core.date.DateUtil;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
public class HeartBeatDTO implements Serializable {
    private String startUpTime ;
    private String currentTime ;

    public HeartBeatDTO(){
        String now = DateUtil.now();
        this.startUpTime = now;
        this.currentTime = now;
    }
}
